package com.gxl.design.templatepattern;

public class Robot extends Run {
    @Override
    void startup() {

        System.out.println("火箭启动了");
    }

    @Override
    void go() {

        System.out.println("火箭窜上天空了");
    }

    @Override
    void arrive() {

        System.out.println("火箭着陆月球了");
    }
}
